﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATM_Software
{
    class TransactionData
    {        
        public int AccountId{ get; set; }                
        public string TransactionType { get; set; }
        public int Ammount { get; set; }
        public string Date { get; set; }

        public TransactionData() // default constructor
        {
            AccountId = Ammount = 0;
            Date = TransactionType = "";
        }

        public string ToTransactionString()
        {
            return AccountId + ";" + TransactionType + ";" + Ammount + ";" + Date;
        }
    }
}
